//
//  STTools_RcimUserCacheManger.h
//  WithHeart
//
//  Created by imac on 2019/12/30.
//  Copyright © 2019 stoneobs. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
/************融云信息缓存******************/
@interface STTools_RcimUserCacheManger : NSObject
+ (STTools_RcimUserCacheManger *)manger;

//用户
- (NSArray<RCUserInfo*>*)getAllUserArray;
- (RCUserInfo*)getUserInfoFormUserId:(NSString*)userId;
- (void)saveUserInfoIfNeed:(RCUserInfo*)info;

//群组
- (NSArray<RCGroup*>*)getAllGroupArray;
- (RCGroup*)getGroupInfoFormGroupId:(NSString*)groupId;
- (void)saveGroupInfoIfNeed:(RCGroup*)info;
@end

NS_ASSUME_NONNULL_END
